package rubbish;

import java.sql.Driver;
import java.util.Iterator;
import java.util.ServiceLoader;

public class ServiceLoaderTest {

	public static void main(String[] args) {
		ServiceLoader1<Driver> loadedDrivers = ServiceLoader1.load(Driver.class);
        Iterator<Driver> driversIterator = loadedDrivers.iterator();
        try{
            while(driversIterator.hasNext()) {
                driversIterator.next();
            }
        } catch(Throwable t) {
        }
	}

}
